package com.bdqn.jk.service;

import com.bdqn.jk.controller.vo.NewBeeMallIndexCarouselVO;
import com.bdqn.jk.entity.Carousel;
import com.bdqn.jk.util.PageQueryUtil;
import com.bdqn.jk.util.PageResult;

import java.util.List;

public interface CarouselService {
    //获得轮播图页面
    PageResult getCarouselPage(PageQueryUtil pageUtil);
    //保存
    String saveCarousel(Carousel carousel);
    //修改
    String updateCarousel(Carousel carousel);
    //根据id查询
    Carousel getCarouselById(Integer id);
    //删除
    Boolean deleteBatch(Integer[] ids);
    //返回轮播图对象
    List<NewBeeMallIndexCarouselVO> getCarouselsForIndex(int number);
}
